package com.yh.dao;

import com.yh.javabean.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersDao {
    //分页查询所有订单
    List<Orders> selectAll();
    Orders selectById(int id);
    List<Orders> selectAllKey(@Param("orderNum") String orderNum, @Param("productName")  String productName);
}
